EAS Build
Expoアプリをcloud上でbuildする
署名もする
従来の$ expo buildを置き換えたもの
設定ファイル
commands
autoIncrement
$ eas webhook:create
Expo serverで以下のことが行われている ref projectのshallow cloneを作成し、圧縮し、cloudにupload
EAS Buildは新しいVMを構成し、project archiveをdownloadする
JSの依存libraryとnativeの依存libraryをinstall
build完了後、結果のバイナリにアプリの署名credentialで署名する
https://gyazo.com/c2506ad77981c403ee3f361f41778f8c https://blog.expo.dev/expo-managed-workflow-in-2021-d1c9b68aa10
npm hooks
executes before EAS Build runs yarn install
executes at a slightly different time depending on the platform: for Android, after yarn install has completed; for iOS, after both yarn install and pod install have completed
this hook is triggered almost at the end of the build process, just before the build worker uploads your build artifacts to cloud storage
ExpoのGithub Actions
Next.jsのときみたいに、PR時にpreviewとしてQRコードの発行とかできる
Start Building
Introduction
Creating your first build
Configuration with eas.json
Internal distribution
Automating submissions
Triggering builds from CI
App Signing
App credentials explained
Using automatically managed credentials
Using local credentials
Using existing credentials
Syncing credentials between remote and local sources
Reference
Build schema for eas.json
Migrating from "expo build"
Integrating with third-party tooling
Using private npm packages
Environment variables and secrets
Building APKs for Android emulators and devices
Building for iOS simulators
なにこれ?普通にやるのと何が違う?
Troubleshooting build errors and crashes
Running builds on your own infrastructure
Installing app variants on the same device
Caching dependencies
Android build process
iOS build process
Limitations
Configuration process
Server infrastructure
iOS Capabilities